package de.jmda.core.util.classpath;


/**
 * Resource that exists inside {@link #getResourcecontainer()}.
 */
public abstract class ClasspathResource
{
	private ResourceContainer resourcecontainer;
	
	private String resourcename;

	public ClasspathResource(
			ResourceContainer resourcecontainer,
      String resourcename)
  {
    super();
    this.resourcecontainer = resourcecontainer;
    this.resourcename = resourcename;
  }

	public ResourceContainer getResourcecontainer()
  {
  	return resourcecontainer;
  }

	public String getResourcename()
  {
  	return resourcename;
  }

	public abstract boolean isDirectory();
}